package com.srxz.personnelsystem.system.service;

import com.srxz.personnelsystem.system.mapper.dto.PositionDTO;
import com.srxz.personnelsystem.util.BackMessage;
import com.srxz.personnelsystem.util.PageParam;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface PositionService {

    public BackMessage save(PositionDTO positionDTO);

    public BackMessage delete(PositionDTO positionDTO);

    public BackMessage update(PositionDTO positionDTO);

    public BackMessage search(String id);

    public BackMessage searchToPage(PageParam pageParam);

    public BackMessage deleteList(List<PositionDTO> positionDTOS);

    public BackMessage searchAllOfNoUse(String depatmentId);
}
